using System;
using System.ComponentModel.DataAnnotations;

namespace Acme.BookStore.Workzmy
{
    public class CreateUpdateAllocationDetailDto
    {
        public Guid AllocationId { get; set; }
        [Required]
        public string ProductName { get; set; }

        [Required]
        public string ProductCode { get; set; }

        public string Specification { get; set; }

        [Required]
        public string Unit { get; set; }

        public string ProductType { get; set; }

        public decimal FromWarehouseStock { get; set; }

        public decimal ToWarehouseStock { get; set; }

        [Required]
        public decimal AllocationQuantity { get; set; }

        public decimal UnitPrice { get; set; }

        public decimal AllocationAmount { get; set; }
        public string Remarks { get; set; }
    }
}